// layout的路由
// 导航菜单从此渲染

const routes: any[] = [
  {
    path: '/welcome',
    component: '@/pages/welcome/welcome',
    title: '首页',
    name: 'Welcome',
    icon: 'SmileOutlined',
  },
  {
    path: '/proChat',
    component: '@/pages/proChat/proChat',
    title: '会议室',
    name: 'ProChat',
    icon: 'WechatOutlined',
  },
  {
    path: '/charts',
    component: '@/pages/charts/charts',
    title: '大数据可视化',
    name: '大数据可视化',
    icon: 'BarChartOutlined',
  },
  {
    path: '/luck',
    component: '@/pages/luckDraw/luckDraw',
    title: '抽奖大转盘',
    name: '抽奖大转盘',
    icon: 'DollarCircleOutlined',
  },
  {
    path: '/todo',
    component: '@/pages/todo/todo',
    title: '任务',
    name: '任务',
    icon: 'CoffeeOutlined',
  },
  // 二级导航做扩展
  // {
  //   path: '/other',
  //   // component: '@/pages/proChat/proChat',
  //   title: 'other',
  //   name: 'other',
  //   icon: 'WechatOutlined',
  //   routes: [
  //     {
  //       path: '/other',
  //       // component: '@/pages/proChat/proChat',
  //       title: 'other',
  //       name: 'other',
  //       icon: 'WechatOutlined',
  //     }
  //   ]
  // }
];

export default routes;
